package com.zrrd.jt_admin.common.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.io.Serializable;

/**
 * @author WanJl
 * @version 1.0
 * @title MinIOProperties
 * @description MinIO配置所需属性
 * @create 2024/7/3
 */
@Data
@ConfigurationProperties(prefix = "minio")
public class MinIOConfigProperties implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户名
     */
    private String accessKey;
    /**
     * 密码
     */
    private String secretKey;
    /**
     * 桶名称
     */
    private String bucket;
    /**
     * url路径
     */
    private String endpoint;
    /**
     * 读取路径
     */
    private String readPath;
}
